home *** CD-ROM | disk | FTP | other *** search
/ ROM Magic / ROM Magic.iso / pc / 12_dorei / winprog / shared.dxr / 00449.ls next >
Encoding:
Text File  |  1995-05-12  |  5.9 KB  |  170 lines

  1. on exitalart
  2.   global status, username, cursor128, cursorwait, cursor130, cursor135, cursor145, cursor146, cursor147
  3.   eracemenudownbutton()
  4.   set status to "exitAlart"
  5.   cursor(cursor128)
  6.   puppetSprite(20, 1)
  7.   set the type of sprite 20 to 1
  8.   set the ink of sprite 20 to 36
  9.   set the foreColor of sprite 20 to 255
  10.   set the backColor of sprite 20 to 0
  11.   set the castNum of sprite 20 to the number of cast "exitDialog"
  12.   set the locH of sprite 20 to 320
  13.   set the locV of sprite 20 to 200
  14.   puppetSprite(21, 1)
  15.   set the type of sprite 21 to 1
  16.   set the ink of sprite 21 to 0
  17.   set the foreColor of sprite 21 to 255
  18.   set the backColor of sprite 21 to 0
  19.   set the castNum of sprite 21 to the number of cast "cancel,up"
  20.   set the locH of sprite 21 to 190
  21.   set the locV of sprite 21 to 240
  22.   puppetSprite(22, 1)
  23.   set the type of sprite 22 to 1
  24.   set the ink of sprite 22 to 0
  25.   set the foreColor of sprite 22 to 255
  26.   set the backColor of sprite 22 to 0
  27.   set the castNum of sprite 22 to the number of cast "yes,up"
  28.   set the locH of sprite 22 to 320
  29.   set the locV of sprite 22 to 240
  30.   put "Mr. " & username && "!" into field "helpMessage"
  31.   puppetSprite(23, 1)
  32.   set the type of sprite 23 to 7
  33.   set the ink of sprite 23 to 36
  34.   set the foreColor of sprite 23 to 255
  35.   set the backColor of sprite 23 to 0
  36.   set the castNum of sprite 23 to the number of cast "helpMessage"
  37.   set the locH of sprite 23 to 202
  38.   set the locV of sprite 23 to 140
  39.   updateStage()
  40. end
  41.  
  42. on demoalart
  43.   global status, username, cursor128, cursorwait, cursor130, cursor135, cursor145, cursor146, cursor147
  44.   eracemenudownbutton()
  45.   set status to "exitAlart"
  46.   cursor(cursor128)
  47.   puppetSprite(20, 1)
  48.   set the type of sprite 20 to 1
  49.   set the ink of sprite 20 to 36
  50.   set the foreColor of sprite 20 to 255
  51.   set the backColor of sprite 20 to 0
  52.   set the castNum of sprite 20 to the number of cast "demoMessage"
  53.   set the locH of sprite 20 to 320
  54.   set the locV of sprite 20 to 200
  55.   puppetSprite(21, 1)
  56.   set the type of sprite 21 to 1
  57.   set the ink of sprite 21 to 0
  58.   set the foreColor of sprite 21 to 255
  59.   set the backColor of sprite 21 to 0
  60.   set the castNum of sprite 21 to the number of cast "ret,up"
  61.   set the locH of sprite 21 to 378
  62.   set the locV of sprite 21 to 215
  63. end
  64.  
  65. on helpmenu
  66.   global status, username, helpstatus, getvideonum, getvideosum, cursor128, cursorwait, cursor130, cursor135, cursor145, cursor146, cursor147
  67.   eracemenudownbutton()
  68.   set status to "helpMenu"
  69.   cursor(cursor128)
  70.   eyeon()
  71.   puppetSprite(20, 1)
  72.   set the type of sprite 20 to 1
  73.   set the ink of sprite 20 to 36
  74.   set the foreColor of sprite 20 to 255
  75.   set the backColor of sprite 20 to 0
  76.   set the castNum of sprite 20 to the number of cast "help1"
  77.   set the locH of sprite 20 to 115
  78.   set the locV of sprite 20 to 180
  79.   puppetSprite(21, 1)
  80.   set the type of sprite 21 to 1
  81.   set the ink of sprite 21 to 0
  82.   set the foreColor of sprite 21 to 255
  83.   set the backColor of sprite 21 to 0
  84.   set the castNum of sprite 21 to the number of cast "closeHelp,up"
  85.   set the locH of sprite 21 to 186
  86.   set the locV of sprite 21 to 204
  87.   checkvideosum()
  88.   set helpnum to random(7)
  89.   if helpstatus = EMPTY then
  90.     if helpnum = 1 then
  91.       put username && " テ‡ナステ‡テ津②" && RETURN & "テ「ツゥテェFテ‡ツ「テェテ佚‡ツ敕ュツ湘‡テ療‡ニ津「ナ テ‡ナステ‡ツ「!" into field "helpMessage"
  92.     end if
  93.     if helpnum = 2 then
  94.       put username && " テ‡ナステ‡テ津②" && RETURN & "テ‡ツアテ‡テε映テ嘉‡テョツシテ‡ツシテ‡テ陛…uテェVテャzテウテ催「窶佚㈸テ…vテ‡テε‡窶コテ‡ツ敕・ツゥテ‡テ暗‡ツアテ‡テ静‡邃「テ‡ツシテ‡ツエテ‡窶ケテ‡テ敕③" into field "helpMessage"
  95.     end if
  96.     if helpnum = 3 then
  97.       put username && " テ‡ナステ‡テ津②" && RETURN & "テウナ津ェFテ‡テεェテ佚‡窶ヲテ「テステ‡ツゥテ‡邃「テ‡窶 テ‡テ凝‡ツェテ‡ツァテ‡ツシテ‡テ!" into field "helpMessage"
  98.     end if
  99.     if (helpnum = 4) or (helpnum = 5) then
  100.       put username && " テ‡ナステ‡テ津②" && RETURN & getvideosum && " テア{テ‡テε詠テ映テ迂テ影テ…[テ益テ‡ツ敕ャツクテゥテ凝‡ツオテ‡窶ケテ‡ツオテ‡テステ③" into field "helpMessage"
  101.     end if
  102.     if (helpnum = 6) or (helpnum = 7) then
  103.       set rest to 18 - getvideosum
  104.       put username && " テ‡ナステ‡テ津②" && RETURN & "テ‡ツアテ‡テε映テ嘉‡テョツシテ‡ツシテ‡テ陛嘉„テ…[テ詠テ…[テ「テ津ゥツセテ‡テεッKテウvテ‡邃「テ‡窶 テ‡テ凝‡窶ケテ‡テセテ‡テ津③" into field "helpMessage"
  105.     end if
  106.     set helpstatus to "once"
  107.   else
  108.     if helpnum = 1 then
  109.       put username && " テ‡ナステ‡テ津②" && RETURN & "テ、テ甘ュツ」テ‡ツ。テ‡ニ津「ナ テ‡ナステ‡ツ「 !" into field "helpMessage"
  110.     end if
  111.     if helpnum = 2 then
  112.       put username && " テ‡ナステ‡テ津②" && RETURN & "テ‡ツョテ・ナステ」Cテ‡ツシテ‡テ敕‡ツゥ !" into field "helpMessage"
  113.     end if
  114.     if helpnum = 3 then
  115.       put "テ‡ツアテ‡テ津‡窶ヲテ‡テクテ‡テŒ !" & RETURN & username && " テ‡ナステ‡テ津②" into field "helpMessage"
  116.     end if
  117.     if helpnum >= 4 then
  118.       set rest to 18 - getvideosum
  119.       put username && " テ‡ナステ‡テ津②" && RETURN & "テ‡ツアテ‡テε映テ嘉‡テョツシテ‡ツシテ‡テ陛…uテェVテャzテウテ催「窶佚㈸テ…vテ‡テε‡窶コテ‡ツ敕・ツゥテ‡テ暗‡ツアテ‡テ静‡邃「テ‡ツシテ‡ツエテ‡窶ケテ‡テ敕③" into field "helpMessage"
  120.     end if
  121.   end if
  122.   puppetSprite(22, 1)
  123.   set the type of sprite 22 to 7
  124.   set the ink of sprite 22 to 36
  125.   set the foreColor of sprite 22 to 255
  126.   set the backColor of sprite 22 to 0
  127.   set the castNum of sprite 22 to the number of cast "helpMessage"
  128.   set the locH of sprite 22 to 30
  129.   set the locV of sprite 22 to 140
  130.   updateStage()
  131. end
  132.  
  133. on openmouse
  134.   global systemdata
  135.   if item 2 of systemdata = "Windows" then
  136.     if random(3) <> 3 then
  137.       exit
  138.     end if
  139.   end if
  140.   puppetSprite(23, 1)
  141.   set the type of sprite 23 to 1
  142.   set the ink of sprite 23 to 0
  143.   set the foreColor of sprite 23 to 255
  144.   set the backColor of sprite 23 to 0
  145.   set the castNum of sprite 23 to the number of cast "openMouse"
  146.   set the locH of sprite 23 to 111
  147.   set the locV of sprite 23 to 97
  148.   updateStage()
  149. end
  150.  
  151. on closemouse
  152.   global systemdata
  153.   if item 2 of systemdata = "Windows" then
  154.     if random(3) <> 3 then
  155.       exit
  156.     end if
  157.   end if
  158.   puppetSprite(23, 0)
  159.   set the locH of sprite 23 to -500
  160.   updateStage()
  161. end
  162.  
  163. on checkvideosum
  164.   global getvideonum, getvideosum
  165.   set getvideosum to 0
  166.   repeat with n = 1 to 18
  167.     set getvideosum to getvideosum + value(char n of getvideonum)
  168.   end repeat
  169. end
  170.